SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}Oberwesel{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}' OR prCity = 'Oberwesel' OR prZip = 'Oberwesel' OR prStreet LIKE '{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}Oberwesel{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}' OR prCountry = 'Oberwesel') AND (prLocation LIKE '{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}/{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}/{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}' OR prCountry = '/') AND (prLocation LIKE '{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}Engehöll{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}' OR prCity = 'Engehöll' OR prZip = 'Engehöll' OR prStreet LIKE '{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}Engehöll{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}' OR prCountry = 'Engehöll') AND (prLocation LIKE '{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}Germany{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}Germany{7eae97e0eaf9fc604ae744e29771f0116a47b7f9f0a70992f0cb898a6bf636ae}' OR prCountry = 'Germany')